package cn.com.cifi.mars.service.impl;

import cn.com.cifi.mars.entity.ApprovalVersionCompare;
import cn.com.cifi.mars.mapper.mars.ApprovalVersionCompareMapper;
import cn.com.cifi.mars.service.ApprovalVersionCompareService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ApprovalVersionCompareServiceImpl extends ServiceImpl<ApprovalVersionCompareMapper, ApprovalVersionCompare>
		implements ApprovalVersionCompareService {
	
	@Autowired
	ApprovalVersionCompareMapper approvalVersionCompareMapper;

	@Override
	public List<ApprovalVersionCompare> selectCompareInfo(String bussinesKey, String collectType) {
		return approvalVersionCompareMapper.selectCompareInfo(bussinesKey, collectType);
	}

	@Override
	public List<ApprovalVersionCompare> selectByBillId(String businessKey) {
		return approvalVersionCompareMapper.selectByKey(businessKey);
	}
}
